import time

import akshare as ak

# 港股股票指数数据
# 历史行情数据 - 东财
symbol = "HSTECH"
df = ak.stock_hk_index_daily_em(symbol=symbol)
# date = time.strftime("%Y%m%d", time.localtime())
# df.to_excel(f"指数-{symbol}-历史行情数据-{date}.xlsx", index=False)